#define  _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

int main(void)
{
	int day, month, year;

	printf("Enter date (mm/dd/yy): ");
	scanf("%d /%d /%d", &month, &day, &year);

	printf("Dated this %d", day);
	if (day == 1 || day == 21 || day == 31)
		printf("st");
	else if (day == 12 || day == 22)
		printf("nd");
	else if (day == 13 || day == 23)
		printf("rd");
	else
		printf("th");
	printf(" day of ");

	if (month == 1)
		printf("January");
	if (month == 2)
		printf("February");
	if (month == 3)
		printf("March");
	if (month == 4)
		printf("April");
	if (month == 5)
		printf("May");
	if (month == 6)
		printf("June");
	if (month == 7)
		printf("July");
	if (month == 8)
		printf("August");
	if (month == 9)
		printf("September");
	if (month == 10)
		printf("October");
	if (month == 11)
		printf("Novermber");
	if (month == 12)
		printf("December");

	printf(", 20%.2d.\n",year);

	return 0;
}